package com.zufe.Test2;


public class Test1 {
    public static void main(String[] args) {
        Student stu = new Student("godl",20,"计算机");
        Teacher t = new Teacher("godl2",20,"计算机");
        System.out.println(stu.getName() + " " + stu.getAge() + " " + stu.getClassNo());
        System.out.println(t.getName() + " " + t.getAge() + " " + t.getSection());
        stu.fillForm();
        t.publishForm();
    }
}
